package com.wyiot.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author yly
 * @since 2022年03月30日
 */
@Getter
public enum UserTypeEnum {
    Personal(0, "个人"),
    PetStore(1, "宠物店"),
    DogHouse(2, "犬舍"),
    CatHouse(3, "猫舍"),
    Other(4, "其他"),
    ;
    @EnumValue
    private final Integer  code;
    @JsonValue
    private final String remark;

    UserTypeEnum(Integer code,String remark) {
        this.code= code;
        this.remark=remark;
    }

}

